package com.ztmmm.module.paper.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 试卷考题
 * </p>
 *
 * @author ztm
 * @since 2023-03-23
 */
@TableName("el_paper_qu")
@ApiModel(value = "PaperQu对象", description = "试卷考题")
public class PaperQu implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("ID")
    private String id;

    @ApiModelProperty("试卷ID")
    private String paperId;

    @ApiModelProperty("题目ID")
    private String quId;

    @ApiModelProperty("题目类型")
    private Integer quType;

    @ApiModelProperty("是否已答")
    private Integer answered;

    @ApiModelProperty("主观答案")
    private String answer;

    @ApiModelProperty("问题排序")
    private Integer sort;

    @ApiModelProperty("单题分分值")
    private Integer score;

    @ApiModelProperty("实际得分(主观题)")
    private Integer actualScore;

    @ApiModelProperty("是否答对")
    private Integer isRight;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getPaperId() {
        return paperId;
    }

    public void setPaperId(String paperId) {
        this.paperId = paperId;
    }
    public String getQuId() {
        return quId;
    }

    public void setQuId(String quId) {
        this.quId = quId;
    }
    public Integer getQuType() {
        return quType;
    }

    public void setQuType(Integer quType) {
        this.quType = quType;
    }
    public Integer getAnswered() {
        return answered;
    }

    public void setAnswered(Integer answered) {
        this.answered = answered;
    }
    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }
    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }
    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }
    public Integer getActualScore() {
        return actualScore;
    }

    public void setActualScore(Integer actualScore) {
        this.actualScore = actualScore;
    }
    public Integer getIsRight() {
        return isRight;
    }

    public void setIsRight(Integer isRight) {
        this.isRight = isRight;
    }

    @Override
    public String toString() {
        return "PaperQu{" +
            "id=" + id +
            ", paperId=" + paperId +
            ", quId=" + quId +
            ", quType=" + quType +
            ", answered=" + answered +
            ", answer=" + answer +
            ", sort=" + sort +
            ", score=" + score +
            ", actualScore=" + actualScore +
            ", isRight=" + isRight +
        "}";
    }
}
